package com.meida.module.bus.client.entity.srmapi.oa;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * OA审批发起状态表
 *
 * @author flyme
 * @date 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_oa_approval_sync")
@TableAlias("boas")
@ApiModel(value="BusOaApprovalSync对象", description="OA审批发起状态表")
public class BusOaApprovalSync extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "OA审批流ID")
    private Long requestId;

    @ApiModelProperty(value = "流程Num")
    private String flowNum;

    @ApiModelProperty(value = "审批状态")
    private String status;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "专业")
    private String majorCode;

    @ApiModelProperty(value = "工程包")
    private String packageNo;

    @ApiModelProperty(value = "用户名")
    private String userNm;

    @ApiModelProperty(value = "审批流种类")
    private String appKind;
}

